package mylab.utils.common.guava;

import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;


public class DeadEventListener {
    @SuppressWarnings("UnstableApiUsage")
    @Subscribe
    @AllowConcurrentEvents
    public void onEvent(DeadEvent event) {
        System.out.println("###DeadEvent###");
        System.out.println(String.format("source:%s", event.getSource()));
        System.out.println(String.format("event:%s", event.getEvent()));
    }
}
